//
//  FriendsViewController.h
//  FootPrint
//
//  Created by alex tao on 2/25/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FriendParser.h"
#import <AddressBook/AddressBook.h>
#import <AddressBookUI/AddressBookUI.h>
#import <PassKit/PassKit.h>

@interface FriendsViewController : UIViewController <FriendDelegate, UIActionSheetDelegate, UIAlertViewDelegate, AddFriendDelegate, ABPeoplePickerNavigationControllerDelegate, InviteDelegate, FriendDelDelegate> {
    
    FriendParser *          _parser;
    UIAlertView*  _alertView;
    
}

@property (retain, nonatomic) IBOutlet UISegmentedControl *segmentControl;
@property (retain, nonatomic) IBOutlet UITableView *friendTable;
@property (retain, nonatomic) NSArray *     allFriends;
@property (retain, nonatomic) NSArray *     allGroup;
@property (retain, nonatomic) NSString*    sendingPhone;

- (IBAction)changeSegment:(id)sender;
- (IBAction)moreOption:(id)sender;

@property (retain, nonatomic) IBOutlet UITextField *textField;
@property (retain, nonatomic) IBOutlet UIButton *btnRightTitle;
@property (retain, nonatomic) IBOutlet UIButton *btnAdd;
- (IBAction)actionAddGroup:(id)sender;

- (void)refreshData;

@end
